package com.example.demoratelimit.simple.service;

import com.example.demoratelimit.aspect.example.OperateLog;
import org.springframework.stereotype.Service;

import java.util.Calendar;

/**
 * DemoCallApiImpl简介
 *
 * @author xianghairui
 * @date 2020-11-15 22:38
 */
@Service
public class DemoCallApiImpl implements DemoCallApi {

    @OperateLog("测试")
    @Override
    public String sendMessage(String params) {


        return "send " +params + " success" + Calendar.getInstance().getTime();
    }
}
